﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="DomainQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough]
    public class DomainQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DescriptionField;
        [OptionalField]
        private string DomainIDField;
        [OptionalField]
        private string LevelNumField;
        [OptionalField]
        private string NameField;
        [OptionalField]
        private string ParentDomainIDField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Description
        {
            get
            {
                return this.DescriptionField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescriptionField, value))
                {
                    this.DescriptionField = value;
                    base.RaisePropertyChanged("Description");
                }
            }
        }

        [DataMember]
        public string DomainID
        {
            get
            {
                return this.DomainIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DomainIDField, value))
                {
                    this.DomainIDField = value;
                    base.RaisePropertyChanged("DomainID");
                }
            }
        }

        [DataMember]
        public string LevelNum
        {
            get
            {
                return this.LevelNumField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LevelNumField, value))
                {
                    this.LevelNumField = value;
                    base.RaisePropertyChanged("LevelNum");
                }
            }
        }

        [DataMember]
        public string Name
        {
            get
            {
                return this.NameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.NameField, value))
                {
                    this.NameField = value;
                    base.RaisePropertyChanged("Name");
                }
            }
        }

        [DataMember]
        public string ParentDomainID
        {
            get
            {
                return this.ParentDomainIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ParentDomainIDField, value))
                {
                    this.ParentDomainIDField = value;
                    base.RaisePropertyChanged("ParentDomainID");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

